if /I "%1" == "-h" (
	call :usage
	exit /B 1
)

git pull
if not !errorlevel! EQU 0 (
	echo failed to pull git
	exit /B 1
)

win\update.bat

exit /B 

:usage
	echo "jenny upgrade"
	echo "    upgrade jenny to the latest"
	exit /B 1
	
